
\subsection{Problem 2}

Recommended (3): Also extract the instruction trace as outlined in ``Timing Analysis Lab: First Steps''. Then compare the number of cycles needed in one iteration of the loop, with the number of cycles aiT calculated.
\\
Q: Do they coincide? What is the total number of cycles needed to execute simple according to the instruction trace buffer?
\\
\\
\\
\textbf{Solution:}
\\
\\
The results are similar. According to our instruction trace, which can be found in section \ref{sec:ins}, we got 102 cycles (we just counted the number of rows) for the loop iterations. As it can be seen in the instruction trace, for 1 loop iteration 12 cycles are needed. Analysis with \textit{aiT} also computed 12 cycles for 1 loop iteration.
